/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.awt.Image;
import java.awt.Point;

/**
 *
 * @author Daniel
 */
public class Mob implements Runnable{

    //private Point _location; la clase Point esta composa de int, No doubles
    private double _x,_y;
    private int _health, _magic, _attack;
    private Item [] _inventory;
    private boolean _airborne;
    private Image _skin;

    public Mob(double x, double y, int health, int magic, int attack, Item[] inv, Image skin) {
        _x = x;
        _y = y;
        
        _health = health;
        _magic = magic;
        _attack = attack;
        
        _inventory = inv;
        _skin = skin;
    }

    public Mob() {
        _x = 0;
        _y = 0;
        
        _health = 0;
        _magic = 0;
        _attack = 0;
        
        _inventory = null;
        _skin = null;
    }
    
    public boolean isDead() {throw new UnsupportedOperationException("Not yet implemented");
    }

    public boolean isDangerous() {throw new UnsupportedOperationException("Not yet implemented");
    }

    public void set_x(double x) {
        _x = x;
    }
    public void set_y(double y) {
        _y=y;
    }

    public double get_x() {
        return _x;
    }

    public double get_y() {
        return _y;
    }

    public boolean isAirborne() { 
        return _airborne;
    }

    public void set_airborne(boolean airborne) {
        _airborne = airborne;
    }

    public void set_skin(Image skin) {
        _skin = skin;
    }

    public Image get_skin() {
        return _skin;
    }

    public void run() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
